home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / scsh-0.4 / scsh-0 / scsh-0.4.2 / scsh / syscalls1.h < prev    next >
C/C++ Source or Header  |  1995-10-22  |  1KB  |  56 lines

  1. /* Exports from syscalls1.c. */
  2.  
  3. scheme_value wait_pid(int pid, int flags, int *result_pid, int *status);
  4.  
  5. int scheme_exec(const char *prog, scheme_value argv, scheme_value env);
  6.  
  7. int scheme_pipe(int *r, int *w);
  8.  
  9. char const *scm_readlink(const char *path);
  10.  
  11. int scm_utime(char const *path, int ac_hi, int ac_lo, int mod_hi, int mod_lo);
  12.  
  13. int scm_utime_now(char const *path);
  14.  
  15. int scheme_cwd(const char **dirp);
  16.  
  17. int process_times(int *utime, int *stime, int *cutime, int *cstime);
  18.  
  19. int cpu_clock_ticks_per_sec();
  20.  
  21. scheme_value read_fdes_char(int fd);
  22.  
  23. int write_fdes_char(char c, int fd);
  24.  
  25. int read_fdes_substring(scheme_value buf, int start, int end, int fd);
  26.  
  27. int read_stream_substring(scheme_value buf, int start, int end, FILE *f);
  28.  
  29. int write_fdes_substring(scheme_value buf, int start, int end, int fd);
  30.  
  31. int write_stream_substring(scheme_value buf, int start, int end, FILE *f);
  32.  
  33. int scheme_stat(const char *path, scheme_value vec, int chase_p);
  34.  
  35. int scheme_fstat(int fd, scheme_value vec);
  36.  
  37. int num_supp_groups(void);
  38.  
  39. int get_groups(scheme_value gvec);
  40.  
  41. int put_env(const char *s);
  42.  
  43. char** scm_envvec(int *len);
  44.  
  45. int install_env(scheme_value vec);
  46.  
  47. void delete_env(const char *var);
  48.  
  49. char *scm_gethostname(void);
  50.  
  51. char *errno_msg(int i);
  52.  
  53. int fcntl_read(int fd, int command);
  54.  
  55. int fcntl_write(int fd, int command, int value);
  56.